home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bixdos.arc
/
BIXTPTCH.TXT
< prev
next >
Wrap
Text File
|
1986-11-24
|
3KB
|
73 lines
Turbo Pascal patches
The following are some useful patches for Turbo Pascal 3.00B and
above. All addresses and data are given in hexadecimal. The
addresses are given for DEBUG. If you are using any other program
to apply the patches, you probably must subtract 100 (hex) from
the addresses.
To apply the patches using debug copy TURBO.COM to another file,
enter: DEBUG (filename) <cr> (Don't forget .COM !)
e (address) (data, single bytes seperated by blanks) <cr>
w <cr>
q <cr>
Patch 1: Change color settings in TP.
-------- This changes the colors in the Editor as well as those set by
NormVideo and LowVideo.
The addresses are the same for every version of TP.
Normal Text: 177
Bold Text: 178
Marked Block: 179
Error Messages: 17A
Enter the color number at this address. High nibble -> background,
low nibble -> foreground.
Example: 1E at address 177 changes normal text to yellow on blue.
Patch 2: Load error message file (TURBO.MSG) automatically at startup.
-------- Version Address Data
3.00B plain 2EB7 B0 16 A2 48 03 90 90 90
3.00B 8087 2980 B0 16 A2 50 03 90 90 90
3.00B BCD 2DD8 B0 16 A2 7C 03 90 90 90
3.01A plain 2F7D B0 16 A2 48 03 90 90 90
At the address given above enter the bytes given under Data.
Patch 3: Beep on error during compilation.
-------- This has the side effect, that TP also beeps if you interrupt an
operation in the Editor with Ctrl-U.
Version Address Data
3.00B plain 3213
3.00B 8087 2CDC
3.00B BCD 3134
3.01A plain 32D9
At the address given above, enter the bytes:
45 53 43 20 07
Patch 4: Beep on end of compilation.
-------- Version Addresses
3.00B plain 3758, 3771
3.00B 8087 3221, 323A
3.00B BCD 3679, 3692
3.01A plain 381E, 3837
At both addresses given above enter the byte:
07
Patch 5: Stop creation of .BAK file.
-------- Version Address
3.00B plain 34A0
3.00B 8087 2F69
3.00B BCD 33C1
3.01A plain 3566
At the address given above, enter the bytes:
90 90 90 90 90 90 90 90 90 90 90 (11x 90)
All patches were worked out by myself and though they work for
me, I cannot guarantee anything.
P.S. forgot to mention: patches are for IBM versions ONLY, not
for plain MS DOS.